package cn.itsource.hrm.service;

import cn.itsource.hrm.domain.Course;
import cn.itsource.hrm.dto.CourseDto;
import cn.itsource.hrm.query.CourseQuery;
import cn.itsource.hrm.util.AjaxResult;
import cn.itsource.hrm.util.PageList;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yaosang
 * @since 2022-01-08
 */
public interface ICourseService extends IService<Course> {

    PageList<Course> selectPageList(CourseQuery query);

    void updateById(CourseDto courseDto);

    void insert(CourseDto courseDto);

    AjaxResult online(List<Long> ids);

    AjaxResult offline(List<Long> ids);
}
